/**  
* @Title: MeetingPO.java
* @Package cn.net.mtons.persist.entity.po
* @Description: TODO
* @author ma jinjian  
* @date 2015年12月19日 下午9:25:27
* @version V1.0  
*/ 
package cn.net.mtons.model.entity.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: MeetingPO
 * @Description: TODO
 * @author ma jinjian
 * @date 2015年12月19日 下午9:25:27
 *
 */
@Entity
@Table(name="meeting")
public class MeetingPO {

	@Id
	@Column(name="meeting_id", nullable=false)
	private long id;
	
	@Column(name="meeting_title", nullable=false)
	private String title;
	
	@Column(name="meeting_content", nullable=false)
	private String content;
	
	@Column(name="meeting_starttime", nullable=false)
	private Date starttime;
	
	@Column(name="meeting_endtime", nullable=false)
	private Date endtime;
	
	@Column(name="meeting_state", nullable=false)
	private int state;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "MeetingPO [id=" + id + ", title=" + title + ", content="
				+ content + ", starttime=" + starttime + ", endtime=" + endtime
				+ ", state=" + state + "]";
	}
}
